#include "refrigerator.h"

#include <iostream>

#include "elephant.h"

Refrigerator::Refrigerator() : elephant_(nullptr) {}
Refrigerator::~Refrigerator() {}

bool Refrigerator::GetHasElephant() const {
    return has_elephant_;
}
void Refrigerator::SetHasElephant(bool has_elephant) {
    has_elephant_ = has_elephant;
}
Elephant *Refrigerator::GetElephant() const {
    return elephant_;
}
void Refrigerator::SetElephant(Elephant *elephant) {
    elephant_ = elephant;
}

void Refrigerator::Open() {
    std::cout << "Refrigerator has been opened." << std::endl;
}
void Refrigerator::Close() {
    std::cout << "Refrigerator has been closed." << std::endl;
}